<?
// $Id: eBayTemplateApi.php,v 1.8 2008/08/28 02:24:36 cheewah Exp $

include("eBayTemplate.php");
$tpl=new eBayTemplate();
$title = $_GET["title"];
$type = $_GET["type"];
$params="FULL&logo=motors&RTMIDs=10026,10027,10028,10129,10147&pageWidth=100%&headerAdId=NewBiz_Header:1";

if($title) {
	if($html=$tpl->loadNoCache($params."&type=".urlencode($type)."&docTitle=".urlencode($title))){
		echo($html);
	}
} else {
	if($html=$tpl->load($params."&type=".urlencode($type))){
		echo($html);
	}
}
?>
